package request

type Register struct {
	Mobile   string `form:"mobile" required:"binding"`
	Password string `form:"password" required:"binding"`
}

type Login struct {
	Mobile   string `form:"mobile" required:"binding"`
	Password string `form:"password" required:"binding"`
}

type AddTest struct {
	QuestionsType uint   `form:"questions_type" required:"binding"`
	Difficulty    uint   `form:"difficulty" required:"binding"`
	Author        string `form:"author" required:"binding"`
	TestQuestions string `form:"test_questions" required:"binding"`
	ValueA        string `form:"value_a" required:"binding"`
	ValueB        string `form:"value_b" required:"binding"`
	ValueC        string `form:"value_c" required:"binding"`
	ValueD        string `form:"value_d" required:"binding"`
	OptionAnswer  uint   `form:"option_answer" required:"binding"`
	Analysis      string `form:"analysis" required:"binding"`
	Keywords      string `form:"keywords" required:"binding"`
}

type UpdateTest struct {
	ID            uint   `form:"id" required:"binding"`
	QuestionsType uint   `form:"questions_type" required:"binding"`
	Difficulty    uint   `form:"difficulty" required:"binding"`
	Author        string `form:"author" required:"binding"`
	TestQuestions string `form:"test_questions" required:"binding"`
	ValueA        string `form:"value_a" required:"binding"`
	ValueB        string `form:"value_b" required:"binding"`
	ValueC        string `form:"value_c" required:"binding"`
	ValueD        string `form:"value_d" required:"binding"`
	OptionAnswer  uint   `form:"option_answer" required:"binding"`
	Analysis      string `form:"analysis" required:"binding"`
	Keywords      string `form:"keywords" required:"binding"`
}

type Delete struct {
	ID uint `form:"id" required:"binding"`
}

type AddPaper struct {
	PaperType       uint   `form:"paper_type" required:"binding"`
	PaperName       string `form:"paper_name" required:"binding"`
	PaperTime       string `form:"paper_time" required:"binding"`
	ArrangementType uint   `form:"arrangement_type" required:"binding"`
	OptionType      uint   `form:"option_type" required:"binding"`
	Score           uint   `form:"score" required:"binding"`
	PassingScore    uint   `form:"passing_score" required:"binding"`
	Reviewer        string `form:"reviewer" required:"binding"`
	Known           string `form:"known" required:"binding"`
	SingleScore     uint   `form:"single_score" required:"binding"`
}

type InfoPaper struct {
	ID uint `form:"id" required:"binding"`
}

type DelPaper struct {
	ID uint `form:"id" required:"binding"`
}

type Info struct {
	ProjectName string `form:"project_name" required:"binding"`
}

type Add struct {
	UserId      uint   `form:"user_id" required:"binding"`
	PaperId     uint   `form:"paper_id" required:"binding"`
	ProjectName string `form:"project_name" required:"binding"`
	TestName    string `form:"test_name" required:"binding"`
	Cate        string `form:"cate" required:"binding"`
	Name        string `form:"name" required:"binding"`
	CTime       string `form:"c_time" required:"binding"`
}

type InfoTes struct {
	ID uint `form:"id" required:"binding"`
}

type InfoTe struct {
	UserID uint `form:"user_id" required:"binding"`
}

type ITest struct {
	TestStatus uint `form:"test_status" required:"binding"`
}
